<!--
 * @Author: 汪军 624473119@qq.com
 * @Date: 2023-10-11 11:53:19
 * @LastEditors: 汪军 624473119@qq.com
 * @LastEditTime: 2023-10-12 15:56:26
 * @FilePath: \ekee-web\src\components\EnterpriseCenterTitle.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template lang="pug">
div.enterprise-center-title
  div.content.flex.justify-center.w100.tc
    div.item(v-for="(item, index) in titleList") 
      span.name {{ item.name }}
      span(v-if="item.value") ({{ item.value }})
</template>

<script setup>
import { ref } from "vue";

defineProps({
  titleList: Array,
});
</script>

<style lang="stylus" scoped>
.enterprise-center-title
  .content
    padding: 30px 0px 14px 0px;
    border-bottom: 1px solid #E6E6E6;
    font-weight: bold;
    font-size: 24px;
    color: #000000;
    .item:nth-child(2)
      margin-left: 36px;
</style>
